package test.handle;

import cube.utils.FileUtil;

public class WenZhang {

	public static void main(String[] args) {
		String ss = FileUtil.readText("D:\\gua.txt");
		for (int i = 0; i < ss.length(); i++) {
			if (i >= 2 && i < ss.length() - 2) {
				char c0 = ss.charAt(i - 2);
				char c1 = ss.charAt(i);
				char c2 = ss.charAt(i + 2);
				if (c0 != '\r' && c1 == '\r' && c2 != '\r') {
					i++;
					continue;
				}
			}
			System.out.print(ss.charAt(i));
		}
	}
}
